﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="right.ascx.cs" Inherits="uc_right" %>
<%@ Import Namespace="System.Linq" %>
<%@ Import Namespace="System.Data" %>
            <div class="frg rig_content">
                <h4 class="zx">最新资讯</h4>
                <div class="scr_News_Pic">
                    <div class="hot_one">
                        <div id="img">
                            <% 
                                if (newsPicDs != null && newsPicDs.Tables.Count > 0 && newsPicDs.Tables[0].Rows.Count > 0)
                                {
                                    foreach (DataRow dr in newsPicDs.Tables[0].Rows)
                                    {
                            %>
                            <a href="news-<%=dr["A_Id"]%>.html" title='<%=dr["A_Title"] %>' target="_blank"><img src="<%=dr["A_Pic"]%>" width="150" height="120" alt="" border="0" /></a>
                            <% 
                                    }
                                }
                            %> 
                        </div>
                        <div id="SwitchNav">
                            <div>
                                <ul>
                                    <% 
                                        if (newsPicDs != null && newsPicDs.Tables.Count > 0 && newsPicDs.Tables[0].Rows.Count > 0)
                                        {
                                            for (int i = 1; i <= newsPicDs.Tables[0].Rows.Count;i++)
                                            {
                                    %>
                                    <li class="nocurrent"><%=i %></li>
                                    <% 
                                            }
                                        }
                                    %> 
                                </ul>
                            </div>
                        </div>
                        <div id="news_img_word" class="news_word">
                            <% 
                                if (newsPicDs != null && newsPicDs.Tables.Count > 0 && newsPicDs.Tables[0].Rows.Count > 0)
                                {
                                    foreach (DataRow dr in newsPicDs.Tables[0].Rows)
                                    {
                            %>
                            <p><%=Utility.GetSubString(dr["A_Title"].ToString(), 0, 22)%></p>
                            <% 
                                    }
                                }
                            %> 
                        </div>
                    </div>
                </div>
                <h4 class="cy">集团产业</h4>
                <div class="scr_News_Pic">
                    <div class="hot_one">
                        <div id="img1">
                            <a href="#"><img src="/images/1.jpg" width="150" height="120" alt="" border="0" /></a>
                            <a href="#"><img src="images/2.jpg" width="150" height="120" alt="" border="0" /></a>
                            <a href="#"><img src="/images/3.jpg" width="150" height="120" alt="" border="0" /></a>
                            <a href="#"><img src="images/4.jpg" width="150" height="120" alt="" border="0" /></a>
                            <a href="#"><img src="/images/5.jpg" width="150" height="120" alt="" border="0" /></a>
                        </div>
                        <div id="SwitchNav1">
                            <div>
                                <ul>
                                    <li class="nocurrent">1</li>
                                    <li class="nocurrent">2</li>
                                    <li class="nocurrent">3</li>
                                    <li class="nocurrent">4</li>
                                    <li class="nocurrent">5</li>
                                </ul>
                            </div>
                        </div>
                        <div id="product_img_word" class="news_word">
                            <p>浙江玉环东沙社区1.jpg</p>
                            <p>浙江玉环东沙社区2.jpg</p>
                            <p>浙江玉环东沙社区3.jpg</p>
                            <p>浙江玉环东沙社区4.jpg</p>
                            <p>浙江玉环东沙社区5.jpg</p>
                        </div>
                    </div>
                </div>
            </div>